
//  拟补Array()不足
let valueToArray = Array.of(3,11,8);
console.log(valueToArray);

let arrayF = Array(3);
console.log(arrayF);

// Array.of 代码模拟

function ArrayOf() {
	return [].slice.call(arguments);
}

let arrays = ArrayOf(3);
console.log(arrays);
